#include "predictor/TtsPredictor.h"


int main(int argc, char** argv)
{
	const bool tbUpdateDictFlag = false;

	FrontAliVc mFrontAliVc;
	mFrontAliVc.FrontInit("./dictionary/", "./dict/", "./py2phoneMap.txt", tbUpdateDictFlag);

	const string tcInputText = "北京今天天气怎么样，明天偶然呢";
	const string tcInputLanguage = "zh";

	vector< vector< vector<string> > > tvOutSentenceAliVc;

	bool tFrontRes = mFrontAliVc.FrontProcess(tcInputText, tcInputLanguage, tvOutSentenceAliVc);

	cout << tvOutSentenceAliVc << endl;

	mFrontAliVc.FrontDestroy();

	return 0;
}
